using System;
using ZhCun.DbCore.Entitys;

namespace MyConsume.Models
{
	public partial class TDictionary : EntityBase
	{
		private System.Int16 _DictEntry;
		/// <summary>
		/// DictEntry
		/// </summary>
		[Entity(ColumnName = CNDictEntry, IsPrimaryKey = true, IsNotNull = true)]
		public System.Int16 DictEntry
		{
			get { return _DictEntry; }
			set
			{
				_DictEntry = value;
				base.SetFieldChanged(CNDictEntry) ;
			}
		}

		private System.String _DictPrompt;
		/// <summary>
		/// DictPrompt
		/// </summary>
		[Entity(ColumnName = CNDictPrompt)]
		public System.String DictPrompt
		{
			get { return _DictPrompt; }
			set
			{
				_DictPrompt = value;
				base.SetFieldChanged(CNDictPrompt) ;
			}
		}

		private System.Int16? _SubEntry;
		/// <summary>
		/// SubEntry
		/// </summary>
		[Entity(ColumnName = CNSubEntry)]
		public System.Int16? SubEntry
		{
			get { return _SubEntry; }
			set
			{
				_SubEntry = value;
				base.SetFieldChanged(CNSubEntry) ;
			}
		}

		private System.String _SubPrompt;
		/// <summary>
		/// SubPrompt
		/// </summary>
		[Entity(ColumnName = CNSubPrompt)]
		public System.String SubPrompt
		{
			get { return _SubPrompt; }
			set
			{
				_SubPrompt = value;
				base.SetFieldChanged(CNSubPrompt) ;
			}
		}

		#region 字段名的定义
		public const string CNDictEntry = "DictEntry";
		public const string CNDictPrompt = "DictPrompt";
		public const string CNSubEntry = "SubEntry";
		public const string CNSubPrompt = "SubPrompt";
		#endregion

	}
}
